﻿{include file="header.tpl"}

<table class="default">
	<thead>
		<tr>
			<td width="10%">Código</td>
			<td width="10%" class="middle">Por defecto</td>
			<td></td>
		</tr>
	</thead>
	<tbody>
		{if is_array($languages)}
			{foreach $languages as $language}
				<tr class="{cycle values='odd,even'}">
					<td>{$language.code}</td>
					<td class="middle"><img src="{$imagespath}{if $language.isDefault eq 1}check.png{else}cross.png{/if}" /></td>
					<td class="right"><a href="{$language.deleteLink}">Borrar</a></td>
				</tr>
			{/foreach}
		{else}
			<tr class="odd">
				<td colspan="3">{$languages}</td>
			</tr>
		{/if}
	</tbody>
</table>

{include file="footer.tpl"}
